package com.hospital.hospitalpatientservice.controller;


import com.hospital.common.dto.VippersonDto;
import com.hospital.common.vo.ResultEntity;
import com.hospital.hospitalpatientservice.entity.Vipperson;
import com.hospital.hospitalpatientservice.service.IVippersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 会员表 前端控制器
 * </p>
 *
 * @author handingfei
 * @since 2020-10-28
 */
@RestController
@RequestMapping("/vipperson")
public class VippersonController {

    @Autowired
    private IVippersonService iVippersonService;

    @RequestMapping("/list")
    public ResultEntity list(VippersonDto vippersonDto){

        List<Vipperson> list = iVippersonService.selectByVip(vippersonDto);

        return ResultEntity.ok("200","成功");
    }

}

